

/* 黑色导航 start */
.black-nav{
    width: 100%;
    height: 40px;
    line-height: 40px;  /*只有一行用行高来实现居中*/
    background-color: #333;
    font-size: 12px;
}

.wrap{
    width: 1226px;
    margin: 0 auto;    /* 上下外边距为0，左右根据父级容器自动分配使容器居中*/
}

/* .black-nav .wrap{
    width: 1226px;
    margin: 0 auto;   
} */

/* 黑色导航左侧 */
.black-nav .wrap .black-nav-left{
    float: left;       /*内容靠左显示*/
}

/* 黑色导航右侧 */
.black-nav .wrap .black-nav-right{
    float: right;
}

/* 黑色导航左右部分的导航都靠左显示 */
.black-nav .wrap  li{
    float: left;
    position: relative;
}

/* 黑色导航的文字样式 */
.black-nav a{
    color: #b0b0b0;
}
/* 黑色导航中的分割符|样式 */
.black-nav .wrap li span{
    color: #424242;
    margin: 0 3.6px;
}

/* 实现下载app的弹出框 */
.download{
    width: 124px;
    height: 0px;  /*默认不存在，当鼠标划过去的时候才会出现*/
    background-color: #fff;
    box-shadow: 0 1px 5px #aaa;  /*x轴为0y轴为1，模糊度为5px*/
    position: absolute; 
    z-index: 1;
    top: 40px;
    left: 50%;
    margin-left: -62px;
    overflow: hidden;  /*超出部分隐藏*/
}

.download img{
    width: 90px;
    margin: 18px auto 0;
}

.download p{
    color: #333;
    font-size: 13px;
    line-height: 13px;
}

/* 当鼠标滑动到下载app的时候展示二维码 */
.black-nav-left li:hover>.download{
    height: 148px;
}

.black-nav li:hover>a{
    color: #fff;
}

/* 白色三角用边框来实现 */
.stri{
    width: 0;
    height: 0;
    border-bottom: 8px solid #fff;
    border-left: 8px solid transparent;   /*左边边框是透明*/
    border-right: 8px solid transparent; /*右边框是透明*/
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -8px;
    display: none;
}

.black-nav-left li:hover>.stri{
    display: block;
}

/* 购物车 */
.cart{
    width: 120px;
    height: 40px;
    background-color: #424242;
    margin-left: 25px;
}

/* 鼠标划过显示的样式 */
.cart:hover{
    background-color: #fff;
}

.black-nav-right .cart:hover>a{
    color: #ff6700;
}

.cart i{
    font-style: normal;
    margin-left: 8px;
}

/* 购物车展示框 */
.cart-list{
    width: 316px;
    height: 0px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    position: absolute;
    z-index: 1;
    right: 0;
    top: 40px;
    color: #424242;
    overflow: hidden;
    line-height: 100px;
}

.cart:hover>.cart-list{
    height: 100px;
}
/* 黑色导航 end */

/* 白色导航 start */

.white-nav{
    width: 100%;
    height: 100px;
    background-color: #fff;
    position: relative;

}

.white-nav .wrap{
    width: 1226px;
    margin: 0 auto;
}
.logo{
    width: 56px;
    height: 56px;
    /* background: #ff6700; */
    float: left;
    margin-top: 22.5px;
    overflow: hidden;
    position: relative;
   /* border-radius: 18px; */
   transition: all 0.05s linear;
}

.logo:hover{
    transform: translateX(1px);

}

.logo>a>img{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    
}

.mi-logo{
    left: 0;
}

.nav-bar{
    width: 874px;
    height: 100px;
    line-height: 100px;
    float: left;
}

.search{
    width: 296px;
    height: 100px;
    float: right;
}

.nav-bar li{
    float: left;
}

.nav-bar .blank{
    width: 177px;
    height: 100px;
}

.nav-bar li a{
    color: #333;
    padding: 0 10px;
}
.nav-bar li:hover>a{
    color: #ff6700;
}

.nav-bar ul li img{
    margin-top: 22.5px;
}

.search input{
    /* 296-244=52 */
    width: 244px;
    height: 50px;
    float: left;
    border: 1px solid #e0e0e0;
    box-sizing: border-box;
    outline-color: #ff6700;
    margin-top: 25px;
    padding: 0 10px;  /*上下为0，左右为10px*/
    border-right: 0;   /*输入框右边框和搜索按钮左边框重叠*/
}


.search button{
    width: 52px;
    height: 50px;
    float: right;
    border: 1px solid #e0e0e0;
    margin-top: 25px;
}

.search button:hover{
    color: #fff;
    background-color: #ff6700;
}

.nav-bar-list{
    width: 100%;
    height: 229px;
    background-color: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.1);
    position: absolute;
    z-index: 1;
    left: 0;
    top: 100px;
    display: none;
}

.nav-bar-list .img-box{
    margin-bottom: 12px;
    margin-right: 17px;
    margin-left: 17px;
}

.nav-bar li:hover>.nav-bar-list{
    display: block;
}

.nav-bar-list li{
    line-height: normal;
    border-right: 1px solid #eee;
}

.nav-bar-list .name{
    font-size: 12px;
    color: #333;
}

.nav-bar-list .price{
    font-size: 12px;
    color: #ff6700;
    margin-top: 4px;
}
/* 白色导航 end */

/* Banner start */

.banner{
    width: 100%;
    height: 460px;
    background-color: #fff;
}

.banner>.wrap{
    width: 1226px;
    margin: 0 auto;
    position: relative;
}

.banner-img{
    width: 100%;

}

.slide{
    width: 234px;
    height: 420px;
    padding: 20px 0;
    background-color: rgba(105, 101, 101, 0.6);
    position: absolute;
    left: 0;
    top: 0;
}

.slide>ul>li{
    height: 42px;
    line-height: 42px;
    text-align: left;
    padding-left: 30px;
    font-size: 14px;
}

.slide>ul>li>a{
    color: #fff;
}


.slide i{
    float: right;
    padding-right: 20px;
}

.slide>ul>li:hover{
    background-color: #ff6700;
}

/* 滑动门 */
.slide-list{
    /* 1226-234=992/2 */
    width: 496px;
    height: 460px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-left: none;
    box-sizing: border-box;  /*容器中的内容不会因为边框和内边距把边框撑大*/
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
    position: absolute;
    top: 0;
    left: 234px;
    display: none; 
}
.slide-list ul li span:hover{
    color: #ff6700;
}

.slide .slide-phone:hover>.slide-list{
    display: block;
}

.slide-list ul{
    list-style: none;
    height: 460px;        /* 限制容器高度 */
    column-count: 2;      /* 初始列数 */
    column-gap: 20px;     /* 列间距 */
    column-fill: auto;    /* 按顺序填充列 */

}

.slide-list ul li{
    width: 240px;
    height: 76px;
    /* float: left; */
    padding: 18px 0 18px 20px;
    box-sizing: border-box;
    line-height: 40px;
}

.slide-list span{
    color: #333;
    font-size: 14px;
    position: relative;
    top: -20px;
    margin-left: 8px;
   
}

/* Banner end */

/* 广告模块 start */

.ad{
    width: 100%;   /*宽度充满整个容器*/
    height: 182px;
    padding: 14px 0;
    background-color: #fff;
}

.ad-slide{
    width: 234px;
    height: 170px;
    background-color: #5f5750;
    padding: 3px;
    box-sizing: border-box;
    font-size: 12px;
    float: left;
}

.ad-slide li{
    float: left;
    /* (234-3-3)/3=76 */
    width: 76px;
    /* (170-3-3)/2=82 */
    height: 82px;
    padding-top: 18px;
    box-sizing: border-box;
    opacity: 0.7;
}

.ad-slide li i{
    font-size: 24px;
    margin-bottom: 4px;
    display: block;
    color: #fff;
}

.ad-slide li p{
    color: #fff;
}

.ad-slide li:hover{
    opacity: 1;
}

.ad-img{
    /* 992/3 */
    width: 316px;
    height: 170px;
    margin-left: 14.6px;
    float: left;
    box-sizing: border-box;
    transition: all 0.2s linear;
}

.ad-img:hover{
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.ad-img img{
    width: 100%;
}

.ad2 img{
    width: 100%;
    margin-top: 25px;
    margin-bottom: 15px;
}

/* 广告模块 end */

/* 内容模块 start */

.content{
    width: 100%;
    overflow: hidden;
    padding: 4px 0 12px;
}

/* 内容模块 end */

/* 手机模块 start */

.phone-title{
    width: 100%;
    height: 58px;
}

.title{
    float: left;
    color: #424242;
    font-size: 22px;
    font-weight: 200;
    line-height: 58px;
}
.phone .title-right{
    float: right;
    color: #424242;
    font-size: 16px;
    font-weight: 200;
    line-height: 58px;
}

.phone .title-right:hover{
    color: #ff6700;
}

.phone-box{
    width: 100%;
    height: 614px;

}

.phone-box-left{
    width: 234px;
    height: 614px;
    float: left;
    transition: all 0.2s linear;
}

.phone-box-left:hover{
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.phone-box-left img{
    width: 234px;
    height: 614px;
}

.phone-box-right{
width: 992px;
height: 614px;
float: left;
}

.phone-box-right .item{
    /* (992-14*4)/4 */
    width: 234px;
    height: 300px;
    margin: 0 0 14px 14px;
    background-color: #fff;
    padding: 20px 0;
    box-sizing: border-box;
    float: left;
    transition: all 0.2s linear;
}

.item:hover{
   transform: translateY(-2px); 
   box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.phone-box-right .item .item-img{
    width: 160px;
    height: 160px;
    margin-bottom: 15px;
}

.phone-box-right .item .item-name{
    font-size: 14px;
    color: #333;
    margin: 0 10px 2px;
}

.phone-box-right .item .item-desc{
    font-size: 12px;
    color: #b0b0b0;
    margin: 0 10px 10px;
}

.phone-box-right .item .item-pric{
    font-size: 14px;
    color: #ff6700;
    margin: 0 10px 14px;
}

/* 手机模块 end */